package com.yungu.swift.common.model.dto;

import com.yungu.swift.base.model.BaseDto;

import java.util.Date;


/**
 * Copyright © 厦门云谷互联信息有限公司 2018-2020 All Right Reserved
 * <p>
 * 系统消息DTO
 *
 * @author Zerrion
 * @version 1.1.0-SNAPSHOT
 */
public class CommonMessageStatusDto extends BaseDto {

    /**
     * 1: 系统消息 2:反馈回复 3: 支付消息 4:后台系统通知 5: 后台升级公告
     **/
    public final static Integer TYPE_SYSTEM = 1;
    public final static Integer TYPE_FEED_BACK = 2;
    public final static Integer TYPE_PAY = 3;
    public static final Integer ADMIN_SYSTEM_NOTICE = 4;
    public static final Integer ADMIN_UPGRADE_NOTICE = 5;

    /**
     * 消息状态 1: 已发送 2:已撤回
     **/
    public static final Integer STATUS_SEND = 1;
    public static final Integer STATUS_RECALL = 2;


    /**
     * 消息 uuid
     **/
    private String messageUuid;

    /**
     * 目标用户ID
     **/
    private String targetUuid;

    /**
     * 消息状态（1:未读、2:已读 、3：删除、4：首页未读删除、5：首页已读删除）
     **/
    private Integer status;

    /**
     * 消息类型（1: 系统消息 2:反馈回复 3: 支付消息 4:后台系统通知 5: 后台升级公告）
     **/
    private Integer type;

    /**
     * 读取时间
     **/
    private Date readTime;

    /**
     * 业务类型（1：出租车 2：专车 3：跨城拼车 4：快车）
     **/
    private Integer businessType;

    /**
     * 发送对象类型（1：乘客 2：司机）
     **/
    private Integer targetType;


    public void setMessageUuid(String messageUuid) {
        this.messageUuid = messageUuid;
    }

    public String getMessageUuid() {
        return this.messageUuid;
    }

    public void setTargetUuid(String targetUuid) {
        this.targetUuid = targetUuid;
    }

    public String getTargetUuid() {
        return this.targetUuid;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getStatus() {
        return this.status;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getType() {
        return this.type;
    }

    public void setReadTime(java.util.Date readTime) {
        this.readTime = readTime;
    }

    public java.util.Date getReadTime() {
        return this.readTime;
    }

    public Integer getBusinessType() {
        return businessType;
    }

    public void setBusinessType(Integer businessType) {
        this.businessType = businessType;
    }

    public Integer getTargetType() {
        return targetType;
    }

    public void setTargetType(Integer targetType) {
        this.targetType = targetType;
    }
}
